// DlrExecutor.cs created with MonoDevelop
// User: jeremie at 16:05 02/01/2009
//
// To change standard headers go to Edit->Preferences->Coding->Standard Headers
//

using System;
using Microsoft.Linq;
using Microsoft.Linq.Expressions;

namespace Bechamel
{
	public class DlrExecutor : BaseExecutor<Expression>
	{
		protected override string Execution (Expression input)
		{
			LambdaExpression lambda = Expression.Lambda(input);
			lambda.Compile().DynamicInvoke();

			return "Execution Succedeed";
		}
	}
}